package theeg.DependencyAnalysis.Core.DataModel;

import java.util.List;

public class ModuleDescriptor implements Descriptor
{

    private List<SubmoduleDescriptor> submodules;
    private boolean partOfProject;
    private String fullName;
    private boolean partOfFramework;
    private String identifier;

    public List<SubmoduleDescriptor> getSubmodules()
    {
        return submodules;
    }

    public void setSubmodules(List<SubmoduleDescriptor> submodules)
    {
        this.submodules = submodules;
    }

    public boolean isPartOfProject()
    {
        return partOfProject;
    }

    public void setPartOfProject(boolean partOfProject)
    {
        this.partOfProject = partOfProject;
    }

    public String getFullName()
    {
        return fullName;
    }

    public void setFullName(String fullName)
    {
        this.fullName = fullName;
    }

    public boolean isPartOfFramework()
    {
        return partOfFramework;
    }

    public void setPartOfFramework(boolean partOfFramework)
    {
        this.partOfFramework = partOfFramework;
    }

    public void setIdentifier(String identifier)
    {
        this.identifier = identifier;
    }

    @Override
    public String getIdentifier()
    {
        return identifier;
    }
}
